home *** CD-ROM | disk | FTP | other *** search
- #pragma once
-
- #include "TControlPanel.h"
-
- class myCDEV : TControlPanel {
- public:
- myCDEV(short numItems,DialogPtr cp);
- virtual ~myCDEV(void);
-
- long ItemHit(short itemHit); // handles a mouse hit in the control panel
- long Idle(void); // handling of nulDev message
- long Update(void); // update user items
- long Activate(void); // activate user items
- long Deactivate(void); // deactivate user items
- long Undo(void); // undo from edit menu or cmd-z
-
- private:
- Boolean activated,
- showSeconds;
- unsigned long lastTime;
- Str255 timeString;
-
- Boolean getTime(void);
- void setCheckBox(void);
- };
-